/*
 * @Author: ZAL 2177624751@qq.com
 * @Date: 2025-03-29 15:04:15
 * @LastEditors: ZAL 2177624751@qq.com
 * @LastEditTime: 2025-03-30 11:14:10
 * @FilePath: \shop_app_vue3d:\Users\21776\Desktop\毕设\fruit_backded\src\main\java\com\fruitshop\dto\UserLoginDTO.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
package com.fruitshop.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 用户登录数据传输对象
 */
@Data
public class UserLoginDTO implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 微信登录code
     */
    @NotBlank(message = "code不能为空")
    private String code;
    
    /**
     * 用户昵称
     */
    private String nickname;
    
    /**
     * 用户头像URL
     */
    private String avatarUrl;
    
    /**
     * 性别: 0-未知，1-男，2-女
     */
    private Integer gender;
} 